package cn.com.bluemoon.daps.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UnRelationDto {

    @ApiModelProperty(value = "表id")
    private String id;

    @ApiModelProperty(value = "表中文名")
    private String tableName;

    @ApiModelProperty(value = "表英文名")
    private String tableEngName;

    @ApiModelProperty(value = "字段父id")
    private String fieldId;

    @ApiModelProperty(value = "字段id")
    private String pId;

    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    @ApiModelProperty(value = "字段注释，必填")
    private String comment;

    @ApiModelProperty(value = "数据类型")
    private String dataType;

    @ApiModelProperty(value = "数据长度,数据类型括号里面的内容，包括字符长度、浮点精度/标度、日期精度")
    private String length;

    @ApiModelProperty(value = "是否为主键 0/null 为否， 1为是")
    private Integer primaryKey;

    @ApiModelProperty(value = "是否为非空 0/null 为否 1为是")
    private Integer notNull;

    @ApiModelProperty(value = "缺省值，针对全字段来说，有别于初始值，默认为null")
    private String defaultValue;

    @ApiModelProperty(value = "关联模型id")
    private String dataModelId;

    @ApiModelProperty(value = "数据模型-模型表id")
    private String modelTableId;

    @ApiModelProperty(value = "标准id")
    private String sId;

    @ApiModelProperty(value = "标准英文名")
    private String engName;

    @ApiModelProperty(value = "标准中文名")
    private String name;

    @ApiModelProperty(value = "标准业务描述")
    private String businessDefine;

    @ApiModelProperty(value = "关联结果id")
    private String resultId;

    @ApiModelProperty(value = "是否为非空 0/null 为否 1为是")
    private Long isIgnore;

    @ApiModelProperty(value = "业务描述")
    private String businessDesc;

    @ApiModelProperty(value = "业务描述")
    private Integer standardMethod;
}
